package com.zhumei.keyscale.weight;

import com.zhumei.keyscale.*;
import com.blankj.utilcode.util.*;
import android.widget.*;
import android.view.*;

public class MyToast
{
    public static void showShort(final String text) {
        final View inflate = LayoutInflater.from(MyApp.getContext()).inflate(2131427389, (ViewGroup)null);
        ((LinearLayout)inflate.findViewById(2131230858)).setLayoutParams((ViewGroup.LayoutParams)new LinearLayout.LayoutParams(SizeUtils.dp2px(1488.0f), SizeUtils.dp2px(118.0f)));
        ((TextView)inflate.findViewById(2131231238)).setText((CharSequence)text);
        final Toast toast = new Toast(MyApp.getContext());
        toast.setGravity(80, 0, 20);
        toast.setDuration(Toast.LENGTH_SHORT);
        toast.setView(inflate);
        toast.show();
    }
}
